<<<<<<< .mine
// LEVEL
function FunctionsLevel(type){
    this.name = "levelFunctions";
    Sprite.apply(this); // dedim stage  
    Level.apply(this); // dedim level 
    this.requiredTime = 30;
    this.type = type;
    this.canvas = canvas;
    this.manual = new Manual (Game.picturesPath + "levels/"+this.name + "/");
    this.functions;
    // methodes
    this.init = init;
                
               
    function init(){
        var x = MainContainerWidth/2 - MainContainerHeight/2;
        var y = MainContainerHeight/2 - MainContainerHeight/2;
        this.functions= new Functions(x, y);                
        this.functions.show();
        this.addChild(this.functions);
        this.addChild (this.manual);
    }
}
FunctionsLevel.prototype = new Sprite(); // toto musi byt  =======
// LEVEL
function FunctionsLevel(name, level, type){
    Sprite.apply(this); // dedim stage  
    Level.apply(this); // dedim level  
    this.name = name;
    this.level = level;
    this.type = type;
    this.canvas = canvas;
                
    this.functions;
    // methodes
    this.init = init;
                
               
    function init(){
        var x = cwidth/2 - size/2;
        var y = cheight/2 - size/2;
        this.functions= new Functions(x, y);                
        this.functions.show();
        this.addChild(this.functions);
    }
           
    
}
FunctionsLevel.prototype = new Sprite(); // toto musi byt  
FunctionsLevel.prototype = new Level();>>>>>>> .r36
